from django.db import models


# Create your models here.
class Person_info(models.Model):
    username = models.CharField("昵称", max_length=50)
    realname = models.CharField("真实姓名", max_length=50)
    phone = models.CharField("手机号", max_length=50)
    gender = models.CharField("性别", max_length=50)
    birthday = models.CharField("出生日期", max_length=50)
    marry = models.CharField("婚姻状况", max_length=50)
    education = models.CharField("教育状况", max_length=50)
    signature = models.CharField("个人签名", max_length=50)
    myfile = models.FileField(upload_to='images', default='')

    class Meta:
        db_table = "info"
